<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>

<body>
  <script>
    /* 创建对象的第一种方式 对象字面量 */
    const person = {
      name: "陶品奇",
      age: 22,
      getThis() {
        console.log(this);
      }
    }
    console.log(person.name.person.age);
    person.getThis()
    console.log(typeof person);
  </script>
</body>

</html>